Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

set_policy

concur.Thread.set_policy

(policy0 concur.scheduling_policy.val, reset_on_fork bool, priority0 i32)
 => 
outcome unit
set the scheduling policy and priority of this thread

policy offers a choice between various options provided
by the operating system.

reset_on_fork specifies whether to inherit the scheduling
policy on a fork(2) (when it is not set) or not (when it
is set).

priority only applies to some scheduling policies and is
currently limited to a value between 0 and 99.
Precondition
pre
  safety: 0 ≤ priority0 ≤ 99
0.099dev (GIT hash 9b94ad4b4a4bff2bf2be7d77be2c6e1fd7683c4d)
last changed: 2026-09-23